package com.rentention;

import java.lang.annotation.ElementType;
import java.lang.annotation.Retention;
import java.lang.annotation.RetentionPolicy;
import java.lang.annotation.Target;

@Runtime
@Source
@Cls
public class RuntimeDemo {

  public static void main(String[] args) {

  }
}

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.CLASS)
@interface Runtime {

}

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.SOURCE)
@interface Source {

}

@Target(ElementType.TYPE)
@Retention(RetentionPolicy.RUNTIME)
@interface Cls {

}